Adobe Analytics tracking code to our Landing page template | Community
Skip to main content
New Participant
May 3, 2023
Solved

Adobe Analytics tracking code to our Landing page template

  • May 3, 2023
  • 1 reply
  • 2807 views

Hi everyone,

Hope you're doing well.

Sorry one more question.

We're trying to add the Adobe Analytics tracking code to our Landing Page Template(s). Is it right to say that we would need to add the code to each template?  Is there any doc that we can refer to on how to add Adobe Analytics tracking code in the Marketo LP template?

And where would be the right place to add that code? It is a one-line script code. So I have added that in the head tag of the template HTML.

<script src="https://ourcode.js" async></script>

 

Kind Regards,

Vidhi

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Darshil_Shah1

If you use a tag management platform like Adobe Launch, Google Tag Manager, etc. then you could load the tracking JS via it, but if not, then you'd have to hard-code the tracking JS on your LP templates (add it in the <head> so it loads first). Additionally, for your reference, loading tracking JS via a tag management platform adds an additional header/latency as the scripts within it are loaded after it itself gets loaded, but on the other hand, it waves off the need to hard-code the tracking JS on every single template.

 

1 reply

Darshil_Shah1
Darshil_Shah1Accepted solution
Community Manager
May 3, 2023

If you use a tag management platform like Adobe Launch, Google Tag Manager, etc. then you could load the tracking JS via it, but if not, then you'd have to hard-code the tracking JS on your LP templates (add it in the <head> so it loads first). Additionally, for your reference, loading tracking JS via a tag management platform adds an additional header/latency as the scripts within it are loaded after it itself gets loaded, but on the other hand, it waves off the need to hard-code the tracking JS on every single template.

 

VidhiKh1Author
New Participant
May 4, 2023

Hi @darshil_shah1 ,

Yeap, I guess we are doing the latter i.e. adding the code on our Landing Pages Templates. We use Adobe Analytics though for our tag management & I think the code is there.

 

Kind Regards,

Vidhi