Yahoo! JAPAN Ads

Yahoo! JAPAN Ads Help

Advanced settings for conversion tag


By re-writing conversion tag with programming languages* conversion value can be dynamically acquired.
*JSP (Java Server Pages), ASP (Active Server Pages) and PHP (Hypertext Pre-processor) etc.
Following steps explains how to change the conversion tag using PHP parameters as an example.
 
Change conversion tag
Steps
  1. Prepare a conversion tag, entering a value within 10 half-width numerical characters in “Value per Conversion”.
    First Setting of Conversion Tracking for Website
  2. Change the conversion tag (for PHP)
    Replace the “Value per Conversion” value you entered before (shown in red in the figure below) with the tag
    “<?php echo $userRevenueValue ?>” correctly.

    <Original Conversion>
    ・JavaScript
    java example
    ・img
    書き替え前(img)
    *The images are samples. The actual appearance may vary.

    <Conversion Tag after replaced>>
    ・JavaScript
    書き替え後(JavaScript)
    ・img
    書き替え後(img)
    *The images are samples. The actual appearance may vary.
  3. Copy the changed tag and paste it between <body> and </body> in the programming language file used for the website to analyze.
  4. Save the file you pasted the conversion tag in and upload it to the web server.


If other web programming languages are being used, alter the respective file of each one, using the correct syntax of the corresponding programming language.

Note
  • "Advanced Settings for Conversion Tag" is only available when conversion tag is set on the website. Not available for tracking App install(conversion) with Mobile App Campaign.
  • Please ensure that all the actions you take and ways you manage the conversion tag inweb page are within the scope of the responsibilities assigned to you by the owner of the website.
  • If you change a conversion tag, it may lose its ability to perform conversion analysis correctly-data may be lost or may not be aggregated accurately, etc. If you are unsure about how to change a conversion tag, ask the website administrator.
  • When you paste the conversion tag, a 1 x 1 pixel transparent gif will appear on the website; please keep this in mind so that it does not have a noticeable effect on the design of your website.
  • On June 20, 2018, following item on conversion tracking tag has been changed.
    <Before> yahoo_ydn_conv_amount
    <After> yahoo_ydn_conv_value
    You can continue using existing tag when tracking conversion before the change.

View this page in Japanese