linkedin error when adding "Alumni Tool Plugin Generator" code to website through google tag manager

时间:2018-12-03 13:09:41

标签: javascript plugins linkedin

I am trying to add the "Alumni tool plugin generator" code of our linkedin university page to our website through google tag manager

The code I got is the following :

<script src="//platform.linkedin.com/in.js" type="text/javascript">extensions: AlumniFacet@//www.linkedin.com/edu/alumni-facet-extension-js</script>
<script type="IN/AlumniFacet" data-linkedin-schoolid="xxxxxxxx"></script>

<div class="li-alumni-widget"><a href="//www.linkedin.com/edu/apbs-avicenne-business-school-xxxxx" target="_li">Visit University on LinkedIn</a> | <a href="//www.linkedin.com/edu/" target="_li">LinkedIn for Education</a></div>

However I get the following message error on google tag manager :

Type : JavaScript Compiler Error

Description :Error at line 1, character 91: Parse error. Character '@' (U+0040) is not a valid identifier start char

0 个答案:

没有答案