Skip to main content
All CollectionsGetting StartedScript InstallationTroubleshooting
Parse error. Character '“' (U+201C) is not a valid identifier start char
Parse error. Character '“' (U+201C) is not a valid identifier start char
Updated over a week ago
Parse error. Character '“' (U+201C) is not a valid identifier start char

Explanation

If you're certain that the tracking script has been correctly installed, saved, and published on your site, yet it's not functioning as expected, a common issue could be the use of incorrect quotation marks in the script code.

Interestingly, there are two types of quotation marks: 'straight' marks and ‘curly’ marks. For coding purposes, browsers require the use of straight marks (also known as 'typewriter' quotation marks). Curly quotation marks, while visually appealing in text documents, are not recognized by browsers in the same way. If your script contains curly quotation marks, they might look correct visually, but your browser will not interpret them correctly, preventing the tracking script from executing properly.

Ensure that your script uses straight quotation marks to avoid such issues and ensure smooth operation.

Example: 'Curly' Marks

In this example, the erroneous quotation marks are highlighted yellow.

Example: 'Straight' Marks

Did this answer your question?