Solved

Is the website tracking code and form code the same?

  • 15 April 2021
  • 2 replies
  • 438 views

Badge +2

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

View original

2 replies

Userlevel 7
Badge +61

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.

 

 

Badge

I am Digital Marketing Expert

Reply