Solved

Is the website tracking code and form code the same?

  • 15 April 2021
  • 1 reply
  • 33 views

Badge

I have this doud. The webiste tracking code in Klaviyo is

<script
  async type="text/javascript"  src="//static.klaviyo.com/onsite/js/klaviyo.js?company_id=publicApi"
></script> 

 

And the form code is:

<script

async type="text/javascript" src="https://static.klaviyo.com/onsite/js/klaviyo.js?company_id=publicApi"></script>

Is almost the same. Do I need to install both? 

If I test the webtracking it says is installed correctly, but the form tracking says is not. 

 

Website tracking:

Form tracking: 

 

icon

Best answer by Dov 16 April 2021, 21:17

Hi @Isidro,

Thank you for sharing your question with the Klaviyo Community!

They are the same script. That error will sometimes appear if you manually install our onsite javascript, as long as one instance of the script is on your website, there is no need to be concerned about that message. Only one script is necessary. 

Thanks and have a great weekend.

 

 

View original

1 reply

Userlevel 5
Badge +4

Hi @Isidro,

Thank you for sharing your question with the Klaviyo Community!

They are the same script. That error will sometimes appear if you manually install our onsite javascript, as long as one instance of the script is on your website, there is no need to be concerned about that message. Only one script is necessary. 

Thanks and have a great weekend.

 

 

Reply