Skip to content

Commit 869e62b

Browse files
authored
Add new referral sources to OrderAttribution class (#167) (#168)
* Include 'chatgpt.com' and 'claude.ai' in the referral lists for order attribution.
1 parent 845d203 commit 869e62b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

includes/Generator/OrderAttribution.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ public static function get_referrer( string $source_type ) {
104104
'https://woo.com/',
105105
'https://facebook.com',
106106
'https://twitter.com',
107+
'https://chatgpt.com',
108+
'https://claude.ai',
107109
);
108110
return $refferal[ array_rand( $refferal ) ];
109111
case 'typein':
@@ -204,6 +206,8 @@ public static function get_source( $source_type ) {
204206
'woo.com',
205207
'facebook.com',
206208
'twitter.com',
209+
'chatgpt.com',
210+
'claude.ai',
207211
);
208212
return $refferal[ array_rand( $refferal ) ];
209213
case 'social':

0 commit comments

Comments
 (0)