Skip to main content
Isidro
Contributor I
Contributor I
April 15, 2021
Solved

Is the website tracking code and form code the same?

  • April 15, 2021
  • 2 replies
  • 596 views

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: 

 

This topic has been closed for replies.
Best answer by Dov

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.

 

 

2 replies

Dov
DovAnswer
Klaviyo Alum
April 16, 2021

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.

 

 

DD
Contributor I
September 27, 2022

I am Digital Marketing Expert