But it says there is a mistake!
Parse error: syntax error, unexpected T_STRING in /home/alternat/public_html/includes/functions.php(5721) : eval()'d code on line 15
This is a discussion on Help! Adwords tracking code below Google Analytics within the General Discussion forums, part of the vBSEO SEO Plugin category; But it says there is a mistake! Parse error : syntax error, unexpected T_STRING in /home/alternat/public_html/includes/functions.php(5721) : eval()'d code on ...
But it says there is a mistake!
Parse error: syntax error, unexpected T_STRING in /home/alternat/public_html/includes/functions.php(5721) : eval()'d code on line 15
I am sorry i missed the if condition , please use the following
PHP Code:$output = str_replace('</body>', '
if (THIS_SCRIPT == 'register')
{
<script language="JavaScript" type="text/javascript"> <!-- var google_conversion_id = 1032217794; var google_conversion_language = "hr"; var google_conversion_format = "1"; var google_conversion_color = "ffffff"; var google_conversion_label = "L-uvCL7WmgEQwsmZ7AM"; if (0.01) { var google_conversion_value = 0.01; } //--> </script> <script language="JavaScript" src="http://www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <img height="1" width="1" border="0" src="http://www.googleadservices.com/pagead/conversion/1032217794/?value=0.01&label=L-uvCL7WmgEQwsmZ7AM&guid=ON&script=0"/> </noscript>
</if>
</body>', $output);
}
Mert Gökçeimam / Crawlability Inc.
vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!
Twitter:@Depkac
Personal Blog : Mert Gökçeimam
Thanks. Installing...
The same error.
Sorry, I could not get it working.
I did it my way (switched off the VBseo Analytics feature and manually put the Analytics code in the footer). Now my adwords code appears below the Analytics code.
Thank you for trying to help me! I appreciate that!
I have the same error with the plugin. Can you tell me the right code to add? (I'm using vbulletin 4.1.3)
vBSEO 3.6 already includes this code
Mert Gökçeimam / Crawlability Inc.
vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!
Twitter:@Depkac
Personal Blog : Mert Gökçeimam
But I don't want to setup goals for G. Analytics, I only need the code for AdWords
Still confused - are Google Analytics and AdWords tracking codes meant to be different?
I have the following information displaying in my website source code:
_uacct = "UA-XXXXXX-X";urchinTracker();
It is working fine in my Google Analytics reports but not working ok in my AdWords account (I get the yellow triangle with an exclamation mark stating the code is not being tracked).
I've read a bit about old Google Analytics code and New code.... and still am confused as to why one would be displaying in one account and not the other.
Would appreciate any help you're able to offer.
No code has to be inserted here.
Please note, we are not a general google help site. Support is offered for verified vBSEO customers only.
If you hold a valid license, please open a ticket with your tranasctionID from your payment receipt along with your forum URL so we can assign it to your account.
http://www.vbseo.com/support/
If you are working on behalf of someone else as a contractor, they need to add you to their Priority Support list:
http://www.vbseo.com/usercp/customer_profile/
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!