Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration to send requests with user ID to a Focal Meter endpoint (close #745) #754

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

matus-tomlein
Copy link
Contributor

@matus-tomlein matus-tomlein commented Dec 30, 2022

Issue #745

Similar to PR #746 which implemented the FocalMeter configuration for the version 4, this PR implements the configuration for version 5 of the tracker. In contrast with the v4 implementation, this one makes use of the new plugin API and the afterTrack callback. The public API is the same as for v4.

Documentation: Sending session user identifier to Kantar FocalMeter

The tracker has the ability to send the user identifier (userId present in the session context) to a Kantar FocalMeter endpoint. This integration enables measuring the audience of content through the FocalMeter router meter.

To enable this feature, you can pass the FocalMeterConfiguration configuration with the URL of the Kantar endpoint. For example:

let focalMeterConfig = FocalMeterConfiguration(kantarEndpoint: "https://thekantarendpoint.com")
let tracker = Snowplow.createTracker(namespace: namespace, network: networkConfig, configurations: [focalMeterConfig])

Copy link
Contributor

@mscwilson mscwilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Base automatically changed from issue/configuration to release/5.0.0-beta.1 February 1, 2023 15:55
Base automatically changed from release/5.0.0-beta.1 to next February 2, 2023 15:04
…oint (close #745)

# Conflicts:
#	Sources/Snowplow/Configurations/FocalMeterConfiguration.swift
@matus-tomlein matus-tomlein changed the base branch from next to master April 4, 2023 16:50
@matus-tomlein matus-tomlein changed the base branch from master to release/5.1.0-beta.1 April 5, 2023 07:33
@matus-tomlein matus-tomlein merged commit 952a138 into release/5.1.0-beta.1 Apr 5, 2023
@matus-tomlein matus-tomlein deleted the issue/focal_meter_v5 branch April 5, 2023 07:33
matus-tomlein added a commit that referenced this pull request Apr 5, 2023
matus-tomlein added a commit that referenced this pull request Apr 5, 2023
matus-tomlein added a commit that referenced this pull request Sep 8, 2023
matus-tomlein added a commit that referenced this pull request Oct 5, 2023
greg-el pushed a commit that referenced this pull request Oct 9, 2023
greg-el pushed a commit that referenced this pull request Oct 9, 2023
Kymer pushed a commit to Kymer/snowplow-ios-tracker that referenced this pull request Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants