Skip to content

Commit

Permalink
Update delegation-tracking.md Minor tweaks and review
Browse files Browse the repository at this point in the history
  • Loading branch information
nhallenC1 authored Aug 2, 2024
1 parent a8a9328 commit 13969b6
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions book/build-your-staking-dapp/ethereum/delegation-tracking.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,23 @@

## Introduction

In today's competitive landscape, understanding the origin and impact of your staking transactions is important for maximizing marketing efforts and partnership strategies. Delegation tracking enables businesses to precisely attribute staking activities to specific campaigns, partners, or sources. By gaining invaluable insights into the performance of your marketing campaigns and partner engagements, you can ensure that your resources are directed towards the most effective initiatives and generate accurate revenue reports. This section will show you how to implement delegations tracking.
Delegation tracking enables businesses to precisely attribute staking activities to specific campaigns, partners, or sources.

Understanding the origin and impact of your staking transactions is important for maximizing marketing efforts and partnership strategies. With these insights into the performance of your marketing campaigns and partner engagements you can ensure that your resources are directed towards the most effective initiatives and generate accurate revenue reports.

## How It Works

The `referrer` field in the SDK allows you to associate transactions with a specific Ethereum address, representing the source of the delegation or minting, such as a marketing campaign or integration partner. Including this field as a parameter in both the `buildStakeTx` and `buildMintTx` methods provides detailed insights and accurate attribution of delegations and minting transactions, tailored to your specific needs.
This section will show you how to implement delegation tracking using the Chorus One SDK.

The `referrer` field in the SDK allows you to associate transactions with a specific Ethereum address, representing the source of the delegation or minting, such as a marketing campaign or integration partner.

Including this field as a parameter in both the `buildStakeTx` and `buildMintTx` methods provides detailed insights and accurate attribution of delegations and minting transactions tailored to your specific needs.

{% hint style="info" %}

To ensure precise tracking and management of transaction origins, it's important to use unique addresses for different customers or campaigns. Generate a unique Ethereum address for each referrer or use your own Ethereum address to track transactions.
To ensure precise tracking and management of transaction origins, it is important to use unique addresseses for different customers or campaigns.

It is advisable to generate a unique Ethereum address for each referrer or use your own Ethereum address to track transactions.

{% endhint %}

Expand All @@ -27,7 +35,7 @@ const { tx } = await staker.buildStakeTx({
})
```

And here's an example of how to use the `referrer` field when building a minting transaction:
And here is an example of how to use the `referrer` field when building a minting transaction:

```javascript
const { tx } = await staker.buildMintTx({
Expand All @@ -40,10 +48,13 @@ const { tx } = await staker.buildMintTx({

## Benefits for Your Business

- Ensure accurate revenue tracking to the right partners or campaigns and provide clear revenue reports for different referral sources.
- Evaluate partner performance by tracking staking transaction volume and value, and measure campaign success by analyzing which referrers generate the most delegations.
- Track customer behavior and preferences to improve engagement strategies and implement retention strategies for high-value customers based on delegation data.
Using delegation tracking offers many important insights for your business and staking activity such as:
- Ensuring accurate revenue tracking to the right partners or campaigns and providing clear revenue reports for different referral sources.
- Evaluating partner performance by tracking staking transaction volume, value, and measuring campaign success by analyzing which referrers generate the most delegations.
- Tracking customer behavior and preferences to improve engagement strategies and implement retention strategies for high-value customers based on delegation data.

## Conclusion

Delegation tracking optimizes marketing strategies and partnerships by providing accurate attribution and insights into customer behavior. It also enables precise revenue reporting. Use delegation tracking to stay competitive and allocate resources effectively.
Using delegation tracking in the Chorus One SDK optimizes marketing strategies and partnerships by providing accurate attribution and insights into customer staking activity while also enabling precise revenue tracking.

This allows your business to stay competitive and allocate resources effectively as well as help maintain accurate financial records and reporting.

0 comments on commit 13969b6

Please sign in to comment.