Extend and maintain theme-component related to Google Ads / Google Tag Manager | Short-term work and long-term retainer

What would you like done?

I am looking for a developer that can help me with some different tasks over time:

  • Extend this theme component (see repo)
  • Debug the same theme component
  • Check some errors in log
  • Long-term help me maintain it
  • Long-term retainer to help me with different Discourse-related tech questions

The purpose of the component (create div with specific ID and execute a JS-script to fill it)

The theme component extends functionality of the HouseAds-plugin by adding ad-spaces between posts. In simplest terms it:

  1. Adds <div id="rikatillsammans_desktop-panorama-1_X"></div> between posts and keeps track of X so it increases with 1 for each interval.

  2. Executes the following javascript to fill the div with an ad:

<script>
    lwhb.cmd.push(function () {
        lwhb.loadAd({
            tagId: "rikatillsammans_desktop-panorama-1_X"
        });
    });
</script>
</body>

See it in action here in a sandbox test:

Tasks

  1. Add option in settings so I can decide if we should show / hide unfilled ad spaces. Now I think the code hides them? (Since googletag-console shows ad slots but they are not displayed between posts).

  2. Try to figure out why sometimes it stops requesting new ads. See the additional info section.

  3. Help me understand the code what is done where. Basically let me ask questions. I know how to code, but I haven’t worked with Discourse so I am not familar with structure etc.

  4. See why there isn’t added an ad-space after the last post in topic.

  5. Try to figure out why the 1x1-area doesn’t load.

Additional info

Google tag manager and ad spaces when it works

When one runs javascript:googletag.openConsole() in console on a page and it works it looks like this:

Request is made but no div is created in page

No creative ID-error / no request made

and subsequent totally empty ad space

Possible error (not sure)

Show more info


When do you need it done?

As soon as possible.

What is your budget, in $ USD that you can offer for this task?

Give me a suggestion of your hourly rate since I would like to retain you for future work as well.

I appreciate good communication which we can do through e.g. slack and if you can also communicate with my ad supplier, that is a great plus.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.