Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Console Error

Avatar

Level 2

we are getting the below console error which is related to adobe analytics.

 

_satellite._runScript1 is not a function

 

we have used this function like

_satellite["_runScript1"](function(event, target, Promise) {

fbq('init','');
fbq('track', 'PageView');

gtag('event', 'conversion', {'send_to':  ' ' });

});

 

kindly help us to sort out this error.

2 Replies

Avatar

Community Advisor

You shouldn't be calling _satellite._runScript1 directly in your code. I believe that function had been created because you have a Custom Code action somewhere in your Rules.

Avatar

Community Advisor

I agree with this completely... you should just add your fbq and gtag code into a custom script section in your rules... Launch will create the _satellite._runScript and execute it based on the trigger rules for the event.