Setting Up Your Ads.txt File on AttractWell

  • Last updated on December 18, 2024 at 10:03 PM

If you're using Journey by MediaVine or a similar service to run ads on your website, you may need to set up an Ads.txt file. Here's how you can integrate this functionality into your site using the Website Analytics Code section in your account.


Step 1: Obtain the Ads.txt URL

Before starting, ensure you have the correct URL for your Ads.txt file. If you're using MediaVine, this can typically be found in your MediaVine dashboard or provided during onboarding. For example:

https://adstxt.journeymv.com/sites/your-unique-id/ads.txt

For help with locating your URL through Journey, please refer to this help article.


Step 2: Add the Redirect for Ads.txt

Our platform automatically redirects any URL ending with /ads.txt to /ads-txt (with a dash). Here's how to set this up:

  1. Log into your GetOiling/AttractWell account.
  2. Navigate to "Manage Pages":
    • Go to the Pages section of your site.
    • Create a new page titled "Ads.txt Redirect".
  3. Set up the redirect:
    • Open the Advanced Settings for this page.
    • Under the Page Redirect URL, paste the provided Ads.txt file URL (e.g.,https://adstxt.journeymv.com/sites/your-unique-id/ads.txt).
    • Save your changes.

This ensures that visiting https://yourwebsite.com/ads.txt redirects to the correct file location.

⚠️ Important
For more details, here is an article on forwarding a URL: https://help.attractwell.com/en/articles/93


Step 3: Adding the Script to Your Site

You might also need to add a verification script or code to your website for ad network approval. Follow these steps:

  1. Log into your GetOiling/AttractWell account.
  2. Navigate to the "Customize My Site" section:
    • Click on Edit Advanced Options.
    • Open the Website Analytics Code section.
  3. Paste the script provided by your ad network:
    • Example of a typical script:
      <script type="text/javascript" src="https://adstxt.journeymv.com/sites/your-unique-id/ads.txt"></script>
    • Save your changes.