Click here to Skip to main content
15,881,850 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,
I'm running a website built on Angular with Node on the backend. I wanted to add scripts (like Google analytics) to different pages. But it appears if I want to a script to one page it will appear on all. You can use server-side rendering but that's a bit over my head.
Is there any workarounds for this? So that I can add scripts to a certain page.
Any feedback would be greatly appreciated!
Brian

What I have tried:

The only thing that could possibly work is server-side rendering
Posted
Comments
[no name] 14-Aug-21 15:41pm    
Can't you just hook in a "non-angular" (html) page; or are you stuck with doing it only in the "framework" way?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900