Adding Adwords Specific Snippet For event tracking on ONE SINGLE PAGE
-
I have spent about 3 hours researching a solution for this.
Before you consider this question be aware tha there are two snippets that need to be added to enable Adwords events:
1)
<!-- Global site tag (gtag.js) - Google AdWords: XXXXXXXXX --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-XXXXXXXXX"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-XXXXXXXXX'); </script>
2)
<!-- Event snippet for Adding Email To List 7 Videos conversion page --> <script> gtag('event', 'conversion', {'send_to': 'AW-XXXXXXX/XXXXXXXXXXXXX'}); </script>
PLEASE DO NOT COMMENT OR INJECT TONS OF INFO ABOUT THE SNIPPET N 1 I have installed it CORRECTLY. I DO NOT NEED HELP WITH THAT, I HAVe FOUND many videos,plug ins, comments about that snippet and how to install it.
MY SPECIFIC PROBLEM IS WITH 2
The snippet 2 needs to go on the page for which we are measuring an event. Thus it goes only one the specific page or vent I am interested.
My problem is I do not know how to insert this snippet on one specific page. I prefer not use plug ins and even if there are plug ins I am not very convinced about the ones I found so far it was not clear how to insert the snippet in one single page.I repeat I would like to know if I can copy and paste the code snippet directly into the text editor on the page of interest?
PLEASE DO NOT:
a) INJECT generic information/link that talks generally about adwords. my problem is specific
b) PLEASE DO NOT INJECT new concept without defining them, e.g. I saw many posts on woocommerce, but I do not even know why I should consider this and how it comes into play.
c) DO NOT OPEN A CANVASS SENDING ME 10 slightly related posts with no specific answer.The answer sought is of the type:
DO this:
Step1
Step2
Step3The final result should be;
<<problem solved.>>- This topic was modified 6 years, 8 months ago by .
- This topic was modified 6 years, 8 months ago by .
- This topic was modified 6 years, 8 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Adding Adwords Specific Snippet For event tracking on ONE SINGLE PAGE’ is closed to new replies.