Implement third party script ASAP | Adobe Higher Education
Skip to main content
Michael_Soprano
Level 10
March 12, 2024
解決済み

Implement third party script ASAP

  • March 12, 2024
  • 2 の返信
  • 510 ビュー

Hi, 

 

I would like to implement GA4 script using Adobe Tag. It's need to fired as soon as possible. 

Which event from these would fire as soon as Adobe Tag is loaded & the first?

 

What rule would you use in order to achieve this recommendation? My Tag is implemented in the head of the page async. 

 

 

Thanks 

Mike 

このトピックへの返信は締め切られました。
ベストアンサー abhinavbalooni

Hey @michael_soprano 

 

Library Loaded is the one which loads first out of the four you've highlighted above. 

 

If you want to still test out the order, try creating four rules, one for each execution. Don't put any action as you just want to see the order of execution. Enable debug mode on your browser console using _satellite.setDebug(true) and check the order of the rules.

 

Hope the above helps.

 

Cheers,

Abhinav

2 の返信

abhinavbalooni
Community Advisor
Community Advisor
March 12, 2024

Hey @michael_soprano 

 

Library Loaded is the one which loads first out of the four you've highlighted above. 

 

If you want to still test out the order, try creating four rules, one for each execution. Don't put any action as you just want to see the order of execution. Enable debug mode on your browser console using _satellite.setDebug(true) and check the order of the rules.

 

Hope the above helps.

 

Cheers,

Abhinav

Michael_Soprano
Level 10
March 18, 2024

Actually I found answer what was wrong. Both custom datalayer and that Google's datalayer was using the same name of the function (datalayer). I changed the name of the function and it worked 🙂